package com.lanswon.qzsmk.model;

import java.io.Serializable;

import com.lanswon.qzsmk.vo.ServiceObject;
/**
 * 民族定义
 */
public class Nation extends ServiceObject implements Serializable {
    /** 序号 */
    private Integer id;

    /** 数字代码 */
    private String numbercode;

    /** 民族名称 */
    private String nationname;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumbercode() {
        return numbercode;
    }

    public void setNumbercode(String numbercode) {
        this.numbercode = numbercode == null ? null : numbercode.trim();
    }

    public String getNationname() {
        return nationname;
    }

    public void setNationname(String nationname) {
        this.nationname = nationname == null ? null : nationname.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", numbercode=").append(numbercode);
        sb.append(", nationname=").append(nationname);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}